import request from '@/utils/request'

const  PATH='/crm/clueTrack';
// 新增线索跟踪
export function addClueTrack(data) {
  return request({
    url: PATH,
    method: 'post',
    data: data
  })
}
// 伪线索
export function falseClue(data) {
  return request({
    url: PATH,
    method: 'PUT',
    data: data
  })
}
// 线索捞取
export function resetClue(id) {
  return request({
    url: `${PATH}/resetClue`,
    method: 'PUT',
    data:{id:id,record:'重新捞取线索'}
  })
}
//转商机
export function transformBusiness(data) {
  return request({
    url: `${PATH}/transform`,
    method: 'PUT',
    data: data
  })
}
